<!--
 * @Description:
 * @Author bianpengfei
 * @create 2022/1/3 20:00
 -->
<script>
export default { name: 'demo' }
</script>
<script setup>
import { onMounted, onUnmounted, reactive } from 'vue'

defineProps({
  description: {
    type: String,
    default: '暂无数据'
  }
})
defineEmits({})
const state = reactive({
  value: ''
})
onMounted(() => {})

onUnmounted(() => {})
</script>

<template>
  <div>
    <h1>详情</h1>
    <input v-model="state.value" />
    <van-button @click="$router.push('/page1')">跳转到page1</van-button>
  </div>
</template>

<style scoped lang="less"></style>
